import {request} from '@/utils/request/index.js'
const model = 'seek-spouse'
const seekSpouse = {
	// 获取分页列表
	getListPage(data){
		return request({
			url: model + '/get-list-page',
			method: 'get',
			data
		})
	},
	
	// 招亲详情
	getInfo(data){
		console.log(data)
		return request({
			url: model + '/get-info',
			method: 'get',
			data
		})
	},
	
	// 发布招亲
	setAdd(data){
		return request({
			url: model + '/set-add',
			method: 'post',
			data
		})
	},
	
	// 修改招亲
	setEdit(data){
		return request({
			url: model + '/set-edit',
			method: 'post',
			data
		})
	}
}

export default seekSpouse